<script setup>
import tabBar from '../../../components/tabBar.vue'
const toapl=()=>{
  uni.navigateTo({url:"/pages/index/application"})
}
</script>
<template>
  <view class="h1">
    <image class="img" src="/static/start.png">
      <br>
    </image>
    <view class="text">
      你当前还没有请假申请
    </view>
    <view class="btn">
      <button class="mini-btn" type="warn" size="mini" @click="toapl">立即申请</button>
    </view>
  </view>
  <view>
    <tabBar :curindex="0"></tabBar>
  </view>
</template>

<style>
.h1{
  display: flex;
  justify-content: center;
  margin-top: 230px;
  position: relative;
}
.text{
  font-family: 黑体;
  position: absolute;
  top:170px;
  background: #F3F5F9;
}
.img{
  width: 173px;
  height: 173px;
}
.btn{
  position: absolute;
  top:210px;
}

</style>
